package ${appProperty.basePackage};

import com.taobao.pandora.boot.PandoraBootstrap;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
* @author ${appProperty.author}
* @version V1.0
* <p>Description: 启动类</p>
* @date ${appProperty.dateTime}
*/
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@ComponentScan(basePackages = {"${appProperty.basePackage}", "com.autonavi.abs.common"})
public class Application {

    public static void main(String[] args) {

        PandoraBootstrap.run(args);
        SpringApplication.run(Application.class, args);
        PandoraBootstrap.markStartupAndWait();

    }

}
